if (TARGET hardware_adc)
    add_subdirectory_exclude_platforms(adc_console)
    add_subdirectory_exclude_platforms(dma_capture)
    add_subdirectory_exclude_platforms(hello_adc)
    add_subdirectory_exclude_platforms(joystick_display)
    add_subdirectory_exclude_platforms(onboard_temperature)
    add_subdirectory_exclude_platforms(microphone_adc)
    add_subdirectory_exclude_platforms(read_vsys)
else()
    message("Skipping ADC examples as hardware_adc is unavailable on this platform")
endif()